package hiresoft.network;

/**
 * Static list of all packets sent/received
 *
 * @author Jan Jorgensen
 */

public final class Packets
{
   public static final byte

   P_LOGIN = 0x01,

   // APPLICANT PACKETS

   P_GETALLJOBS = 0x10,
   P_GETJOB = 0x11,
   P_SUBMITAPP = 0x12,

   // RECRUITER PACKETS

   P_EDITJOB = 0x20,
   P_DELETEJOB = 0x21,
   P_GETALLAPP = 0x22,
   P_GETAPPLICATION = 0x23,
   P_GETREVIEWRATING = 0x24,
   P_ADDREVIEWER = 0x25,
   P_DELETEREVIEWER = 0x26,
   P_GETALLREVIEWERS = 0x27,
   P_GETREVIEWER = 0x28,
   P_EDITREVIEWERACCOUNT = 0x29,
   P_DELETEREVIEWERACCOUNT = 0x2A,

   // REVIEWER PACKETS

   P_GETRATING = 0x30,
   P_SENDRATING = 0x31,
   P_GETREVIEWERALLAPPS = 0x32,
   P_GETREVIEWERAPP = 0x33,

   // REFERENCE PACKETS

   P_REQUESTAPP = 0x40,
   P_SENDREFERENCE = 0x41,

   // ADMIN PACKETS

   P_GETACCOUNTS = 0x50,
   P_GETACCOUNT = 0x51,
   P_EDITACCOUNT = 0x52,
   P_DELETEACCOUNT = 0x53

   ;
}